<!-- 引入标签-->
<#assign  sec=JspTaglibs["http://www.springframework.org/security/tags"] />
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>主页</title>
</head>
<body align="center">
<h2>Spring Security Demo</h2>

<a href="https://zhsq.kuaizikeji.com/wy">Spring Security Demo</a>
    <@sec.authorize access="hasAuthority('menu:show')">
        you can see this(系统用户)
    </@sec.authorize>
    <@sec.authorize access="hasRole('ROLE_admin')">
        if you are admin ,you can see this(系统admin用户)
    </@sec.authorize>
    分割线
    <@sec.authorize access="isAnonymous()">
        you can see isAnonymous(默认用户)
    </@sec.authorize>
</body>
</html>